UCF STIG Viewer Logo

The macOS system must be configured to disable the Network File System (NFS) daemon unless it is required.


Overview

Finding ID Version Rule ID IA Controls Severity
V-257186 APPL-13-002003 SV-257186r905191_rule Medium
Description
If the system does not require access to NFS file shares or is not acting as an NFS server, support for NFS is nonessential and NFS services must be disabled. NFS is a network file system protocol supported by UNIX-like operating systems. Enabling any service increases the attack surface for an intruder. By disabling unnecessary services, the attack surface is minimized.
STIG Date
Apple macOS 13 (Ventura) Security Technical Implementation Guide 2023-08-28

Details

Check Text ( C-60871r905189_chk )
Verify the macOS system is configured to disable the NFS daemon with the following command:

/bin/launchctl print-disabled system | /usr/bin/grep com.apple.nfsd

"com.apple.nfsd" => disabled

If the results are not "com.apple.nfsd => disabled" or the use of NFS has not been documented with the ISSO as an operational requirement, this is a finding.
Fix Text (F-60812r905190_fix)
Configure the macOS system to disable the NFS daemon with the following command:

/usr/bin/sudo /bin/launchctl disable system/com.apple.nfsd

The system may need to be restarted for the update to take effect.